<html><head><title>SetToolBarButtonState</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">SetToolBarButtonState()</font></b></p>
<p><b>Syntax</b></p><blockquote>
<font color="#006666"><b>SetToolBarButtonState</b></font>(#ToolBar, Button, State)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Set the state of the specified toolbar button. The button has to be 
created using the <font color="#924B72">#PB_ToolBar_Toggle</font> mode. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#ToolBar</i></td>
<td width="90%"> 
The toolbar to use. 

</td></tr>
<tr><td><i>Button</i></td>
<td> 
The toolbar button to set the state. 

</td></tr>
<tr><td><i>State</i></td>
<td> 
The new state value for the toolbar button. If the state value is nonzero, the toolbar button will be pushed, 
else it will be unpushed. 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>
None.


</blockquote><p><b>Remarks</b></p><blockquote>

Use <a href="gettoolbarbuttonstate.html">GetToolBarButtonState()</a> to get the state of a toolbar button. 

</blockquote><p><b>See Also</b></p><blockquote>

<a href="gettoolbarbuttonstate.html">GetToolBarButtonState()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=istoolbar.html>IsToolBar()</a> - <a href=index.html>ToolBar Index</a> - <a href=toolbarheight.html>ToolBarHeight()</a> ->

</body></html>